Skip to content

Conversation

@paris3200
Copy link
Owner

Summary

  • Fixed link insertion to generate paths relative to vault root directory
  • Normalized file paths by removing leading './' prefix before creating wiki-style links
  • Ensures consistent linking behavior regardless of current file location

Test plan

  • All existing tests pass
  • Manual testing confirms links now generate as [[note]] instead of [[./note]]
  • Links from subfolders correctly reference root-relative paths

Link insertion now strips leading './' from file paths to ensure
all generated links are consistently relative to the vault root
directory, regardless of the current file's location.

Fixes #25
@paris3200 paris3200 merged commit 080e067 into main Jul 19, 2025
4 checks passed
@paris3200 paris3200 deleted the fix/link-paths-relative-to-root branch July 19, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants